<?php 
namespace app\model;
use think\Model;

class Banner extends Model
{	

	public static function getStatusCn($key){
        $list = [1=>'启用',0=>'停用'];
        return $list[$key];
    }

    public static function getStatusList(){
        $list = [1=>'启用',0=>'停用'];
        return $list;
    }

    public static function getTypeCn($key){
        $list = ['图片','视频'];
        return $list[$key];
    }

    public static function getTypeList(){
        $list = ['图片','视频'];
        return $list;
    }
	
}


 ?>